package StudyCode.summary.Basic.mystring;

import java.util.Arrays;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class StringArraySort {

	public static void main(String[] args) {
		String[] strNames = new String[]{"Hello", "Apex", "Google", "Baidu", "Alibaba"};
		System.out.println("排序前:");
		System.out.println(Arrays.toString(strNames));
		Arrays.sort(strNames);
		System.out.println("排序后:");
		System.out.println(Arrays.toString(strNames));
	}
}
